﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.WorkFlow
{
    public  class WorkAuditorDto
    {
        /// <summary>
        /// 业务Id
        /// </summary>
        public Guid BappId { get; set; }

        /// <summary>
        /// 节点ID值
        /// </summary>
        public int WnID { get; set; }

        /// <summary>
        /// 工作流ID
        /// </summary>
        public int WfID { get; set; }

        /// <summary>
        /// 审办角色
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 审批结果   
        /// </summary>
        public int Result { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime? AuditTime { get; set; }

    }

    public class PushBusInput
    {

        /// <summary>
        /// 审批人员
        /// </summary>
        public List<WorkAuditorDto> WorkAuditorList { get; set; }
        /// <summary>
        /// 审批类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 功能模块
        /// </summary>
        public string FunModule { get; set; }
        /// <summary>
        /// 菜单
        /// </summary>
        public string Menu { get; set; }

        public string BusinessDesc { get; set; }


        /// <summary>
        /// 业务编号
        /// </summary>
        public string BusinessNumber { get; set; }
    }

    public class RejectPushBusInput
    {

        /// <summary>
        /// 审批人员
        /// </summary>
        public List<WorkAuditorDto> WorkAuditorList { get; set; }
        /// <summary>
        /// 审批类型
        /// </summary>
        public int Type { get; set; }
        public Guid Id { get; set; }
    }

    public class WorkAuditorOutput
    {
        /// <summary>
        /// 业务Id
        /// </summary>
        public Guid BappId { get; set; }

        /// <summary>
        /// 工作流ID
        /// </summary>
        public string WfName { get; set; }


        public string UserName { get; set; }
        /// <summary>
        /// 审批结果   
        /// </summary>
        public int Result { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime? AuditTime { get; set; }
    }
}
